package com.autenticaciondeusuarios.DAO;
import java.util.List;
import java.io.Serializable;

public interface GenericDAO <T,ID extends Serializable> 
{
public abstract T  findById (ID id,boolean lock);
public abstract List<T> finaAll();
List <T> findByExample (T exampleInstance);


/*
public abstract  void update(BaseObject bo);
public abstract void delete(BaseObject bo);
public abstract void insert(BaseObject bo);
public abstract  void FindById();
*/
}
